class Dog {
    public String color;
    public String name;

    public void barks() {
        System.out.println(name+"汪汪叫！！！");
    }

    public void wags() {
        System.out.println(name+"摇尾巴");
    }
}
